﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authority
{
    /// <summary>
    /// 功能显示
    /// </summary>
    [AttributeUsage(AttributeTargets.Field)]
    public class DisaplyAttribute : Attribute
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 所在分组
        /// </summary>
        public string Group { get; set; }

        /// <summary>
        /// 功能显示 
        /// </summary>
        /// <param name="name">显示名称</param>
        public DisaplyAttribute(string name)
        {
            this.Name = name;
        }
    }
}
